/*
 * LevelPanelController.h
 *
 *  Created on: 05/11/2012
 *      Author: san
 */

#ifndef LEVELPANELCONTROLLER_H_
#define LEVELPANELCONTROLLER_H_
#include <gtkmm/fixed.h>
#include <gtkmm/eventbox.h>
#include <gtkmm/image.h>
#include <string>
#include <list>
#include <vector>
class Drop;
class Dibujable;
class LevelView : public Gtk::Fixed {
private:
	Gtk::EventBox backgroundEvent;
	Gtk::Image backgroundImage;
	std::list<Drop *> dropList;
	void clearScreen();
	void onRealized();
public:
	LevelView();
	virtual ~LevelView();
	void setBackground(std::string path);
	void show(std::vector<Dibujable *> elements);
	std::list<Drop *> &getDrops();
	virtual Glib::SignalProxy1< bool,GdkEventButton* > signal_button_press_event();
};

#endif /* LEVELPANELCONTROLLER_H_ */
